<template>
	<view>
		{{1 | monthlyCategoryFilter}}
		{{getVersion}}
	</view>
</template>

<script>
	 import {mapState ,mapGetters , mapMutations, mapActions} from 'vuex'
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		computed:{ 
			...mapState({
				menus: state => state.app.menus,
			}),
			...mapGetters({
				getVersion: 'app/_getVersion',
			}),
		},
		methods: {
			...mapMutations({
				testMutation11: 'app/logout'
			}),
			...mapActions({
				testAction11: 'app/initApp'
			}),
			testMutation(){
				this.testMutation11([{name: 'alvin'}])
			},
			testAction(){
				this.testAction11([{name: 'alvin'}])
			},
			testClick() {
				console.log(11111);
			},
			showDrawer() {
				this.$refs.showRight.open();
			},
			closeDrawer() {
				this.$refs.showRight.close();
			}
		}
	}
</script>

<style>
	 
</style>
